package com.weiyuwqj.api.service;


import com.weiyuwqj.api.common.Paginator;
import com.weiyuwqj.api.model.vo.BasCouponVo;
import com.weiyuwqj.api.base.BaseService;
import com.weiyuwqj.api.common.PageList;
import com.weiyuwqj.api.model.BasCoupon;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2015/12/2.
 */
public interface BasCouponService extends BaseService<BasCoupon> {
    //红包显示
    PageList getList(Paginator p, Map param);

    List<BasCouponVo> getList(Map param);

    //查看单个红包
    BasCouponVo getSingle(Integer id);

    PageList getDailyList(Paginator p, Map<String, Object> map);

    //前台投资根据金额对应能使用的红包列表
    List<BasCoupon> getListByUserId(Map map);


    PageList listCouponAndConf(Paginator p, Map map);

    int updateCouponTimerStatus(Map map);

}
